package com.zrrd.learn.chapter08.proxy;

/**
 * 法院（代理应用场景）
 *
 * @author asus
 * @version 1.0
 * @date 2023/8/4 8:59
 */
public class Court {

    public static void main(String[] args) {
        Defendant d=new Defendant();
        d.setName("张三丰");
        Sayinterface say =new LawyerProxy(d);
        say.say();
    }

}
